export default function counter(state = 0, action) {
    console.log('[reducers/index.js] ->counter, state:', state, 'action', action);

    switch (action.type) {
        case 'INCREMENT':
            return state + 1;
        case 'DECREMENT':
            return state - 1;
        default:
            return state;
    }
}
